Skip to main content

browserLoadFailed

Type

message

Summary

Sent when the given URL fails to load.

Syntax

browserLoadFailed <pUrl>, <pError>

Description

Handle the browserLoadFailed message to perform an action when a URL fails to load in a native mobile browser created using mobileControlCreate.

The browserLoadFailed message is sent to the object containing the script that created the mobile browser control when a URL fails to load.

Parameters

NameTypeDescription

pUrl

The URL that failed to load.

pError

The error message.

Examples

on browserLoadFailed pURL, pError
put "Failed to load" && pURL && "Error:" && pError into field "status"
end browserLoadFailed

function: mobileControlGet, mobileControlTarget, mobileControls

message: browserStartedLoading, browserLoadRequest, browserFinishedLoading

command: mobileControlCreate, mobileControlDelete, mobileControlSet

Compatibility and Support

Introduced

LiveCode 4.5.3

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?